package com.zdp.service;

import com.zdp.domain.User;
import com.zdp.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author sesshomaru
 * @date 2021/10/4 21:33
 */
@Service
public class UserService {

    @Autowired
    private UserMapper userMapper;

    public User findById(Integer id) {
        return this.userMapper.selectById(id);
    }
}
